package com.zhousb.deviceManager.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.zhousb.deviceManager.model.dto.ProductDto;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class OrderVo {
    private Long id;
    private String orderUserName;
    private String senderName;
    private String senderTel;
    private String senderAddress;
    private String consigneeName;
    private String consigneeTel;
    private String consigneeAddress;
    private String remark;
    private String orderCode;
    private String orderStatus;
    private Integer afloatStatus;
    private List<ProductSimpleVo> products;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
}
